package team.seekers.hula.question.questionBonfire.entity.dao;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * book
 * </p>
 *
 * @author hbc
 * @since 2022-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Bonfire对象", description="篝火")
@TableName(value = "question_bonfire")
public class BonfireDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "篝火的主题")
    private String title;

    @ApiModelProperty(value = "篝火的封面")
    private String cover;

    @ApiModelProperty(value = "篝火的背景")
    private String background;

    @ApiModelProperty(value = "篝火的地址")
    private String location;

    @ApiModelProperty(value = "篝火的简介")
    private String description;

    @ApiModelProperty(value = "篝火的介绍")
    private String introduction;

    @ApiModelProperty(value = "篝火的发起者")
    private String userId;

    @TableLogic
    private Integer isDeleted;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}
